package name.lzc.thread.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author lzc
 * @date 2021/3/6 17:21
 * See More: https://github.com/lzco, https://gitee.com/lzco
 */
@ConfigurationProperties(prefix = "lzc")
public class ThreadPoolProperties {

    private String enabled = "true";

    private Integer corePoolSize = 10;

    private Integer maximumPoolSize = 10;

    public String getEnabled() {
        return enabled;
    }

    public void setEnabled(String enabled) {
        this.enabled = enabled;
    }

    public Integer getCorePoolSize() {
        return corePoolSize;
    }

    public void setCorePoolSize(Integer corePoolSize) {
        this.corePoolSize = corePoolSize;
    }

    public Integer getMaximumPoolSize() {
        return maximumPoolSize;
    }

    public void setMaximumPoolSize(Integer maximumPoolSize) {
        this.maximumPoolSize = maximumPoolSize;
    }

}
